<?php

/**
 * Login form.
 *
 * @package    billingSystem
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class LoginForm extends BaseLoginForm
{
  public function configure()
  {

      $this->widgetSchema['pid'] = new sfWidgetFormInputHidden();
            $this->widgetSchema['username'] = new sfWidgetFormInputText(array(
                'label' => 'username',
                    ));

      unset(
           $this['type'], $this['created_at'],
           $this['updated_at']
              );
      $this->validatorSchema['pid'] = new sfValidatorString(array('required' => false));
      $this->validatorSchema['username'] = new sfValidatorString(array('required' => true));
      $this->validatorSchema['password'] = new sfValidatorString(array('required' => true));

  }
}
